<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="GuildBank.lua"></Script>

	<Button name="AltoGuildBankIconTemplate" inherits="AltoMenuIconTemplate" virtual="true">
		<Scripts>
			<OnEnter>
				Altoholic.Guild.Bank:Icon_OnEnter(self)
			</OnEnter>
		</Scripts>
	</Button>
	
	<Button name="AltoGuildBankTabIconTemplate" inherits="AltoMenuIconTemplate" virtual="true">
		<Scripts>
			<OnClick>
				Altoholic.Guild.Bank:TabIcon_OnClick(self, button)
			</OnClick>
			<OnEnter>
				Altoholic.Guild.Bank:TabIcon_OnEnter(self)
			</OnEnter>
			<OnLeave>
				AltoTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
		
	<Frame name="AltoholicFrameGuildBank" parent="AltoholicTabGuild">
		<Size>
			<AbsDimension x="615" y="306"/>
		</Size>
		<Anchors>
			<Anchor point="TOPRIGHT">
				<Offset>
					<AbsDimension x="39" y="-105"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<FontString name="$parentInfo1" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="250" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="AltoholicFrameSearchLabel" relativePoint="RIGHT" >
							<Offset x="360" y="-5" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentInfo2" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="250" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentInfo1" relativePoint="BOTTOMLEFT" >
							<Offset x="0" y="-3" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
				<FontString name="$parentInfo3" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="250" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentInfo2" relativePoint="BOTTOMLEFT" >
							<Offset x="0" y="-3" />
						</Anchor>
					</Anchors>
					<Color r="255" g="255" b="255" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parent_GuildIcon" inherits="AltoGuildBankIconTemplate" id="1">
				<Anchors>
					<Anchor point="LEFT" relativeTo="AltoholicFrameSearchLabel" relativePoint="RIGHT" >
						<Offset x="60" y="-23" />
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parent_TabsIcon" inherits="AltoGuildBankIconTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_GuildIcon" relativePoint="TOPRIGHT" >
						<Offset x="5" y="0" />
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parent_UpdateIcon" inherits="AltoGuildBankIconTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_TabsIcon" relativePoint="TOPRIGHT" >
						<Offset x="5" y="0" />
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parent_RarityIcon" inherits="AltoGuildBankIconTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent_UpdateIcon" relativePoint="TOPRIGHT" >
						<Offset x="5" y="0" />
					</Anchor>
				</Anchors>
			</Button>

			<Frame name="$parentRightClickMenu1" inherits="AltoRightClickMenuTemplate" id="1" />
			<Frame name="$parentRightClickMenu2" inherits="AltoRightClickMenuTemplate" id="2" />
			<Frame name="$parentRightClickMenu3" inherits="AltoRightClickMenuTemplate" id="3" />
			<Frame name="$parentRightClickMenu4" inherits="AltoRightClickMenuTemplate" id="4" />

			<Button name="$parentEntry1" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentEntry2" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry1" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>
			<Button name="$parentEntry3" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry2" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>
			<Button name="$parentEntry4" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry3" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>
			<Button name="$parentEntry5" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry4" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>
			<Button name="$parentEntry6" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry5" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>
			<Button name="$parentEntry7" inherits="AltoContainerTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentEntry6" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Button>

			<Button name="$parentTabButton1" inherits="AltoGuildBankTabIconTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AltoholicFrame" relativePoint="TOPRIGHT" >
						<Offset>
							<AbsDimension x="0" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton2" inherits="AltoGuildBankTabIconTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton1" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton3" inherits="AltoGuildBankTabIconTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton2" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton4" inherits="AltoGuildBankTabIconTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton3" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton5" inherits="AltoGuildBankTabIconTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton4" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton6" inherits="AltoGuildBankTabIconTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton5" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton7" inherits="AltoGuildBankTabIconTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton6" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentTabButton8" inherits="AltoGuildBankTabIconTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentTabButton7" relativePoint="BOTTOMLEFT" >
						<Offset>
							<AbsDimension x="0" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			
		</Frames>
		<Scripts>
			<OnLoad>
				Altoholic.Guild.Bank:OnLoad()
			</OnLoad>
			<OnHide>
				DropDownList1:Hide()
			</OnHide>
		</Scripts>
	</Frame>
	
</Ui>